//
//  RCSelectorView.h
//  RocketProject
//
//  Created by chen jiedan on 13-6-24.
//  Copyright (c) 2013年 Rocket. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TabBar.h"


@protocol RCSeletorViewDelegate <NSObject>

-(UIView *) viewForSelectorIndex:(NSInteger)index;

@end

@interface RCSelectorView : UIView<TabBarDelegate>
@property (nonatomic, assign) id<RCSeletorViewDelegate> delegate;
@property (nonatomic, assign) NSInteger selectedIndex;

- (id) initWithFrame:(CGRect)frame titleArray:(NSArray *)titles;

- (void) selectorHide;
- (void) changeCurrentTabbarTitle:(NSString *)newTitle;

@end




#pragma
#pragma mark

@class RCSubViewTablelist;
@protocol RCSubViewTablelistProtocol <NSObject>
- (void) rcSubViewTablelist:(RCSubViewTablelist *)rcSubViewTablelist didSelectTitle:(NSString *)titleTag atIndex:(NSInteger)index;
@end


@interface RCSubViewTablelist : UIView<UITableViewDelegate,UITableViewDataSource>
- (id) initWithFrame:(CGRect)frame andTitles:(NSArray *)titleArray;
@property (nonatomic, assign) id<RCSubViewTablelistProtocol> delegate;
@end